#!/data/data/com.termux/files/usr/bin/bash
#set -x

datetime=$(sed -n '1p' /data/data/com.termux/files/home/sdcard/Documents/alarmClock.txt)
pointSeconds=$(date -d "$datetime" +%s)
while true
do
    if [ "$(date +%s)" -gt "$pointSeconds" ]
    then
        /data/data/com.termux/files/home/sbin/tts.sh /data/data/com.termux/files/home/sdcard/Documents/alarmClock.txt 2
    fi
    sleep 1
done

#set +x
